package com.yangcangclub.trade.bean;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 羊仓退款
 */
public class TradeRefund{
	private java.lang.Integer id;	//id
	private java.lang.Integer userId;	//userId
	private java.lang.String tradeNo;	//订单号
	private java.lang.String refundNo;	//退款单号（退款订单号，唯一）
	private java.lang.Integer payType;	//支付类型（0支付宝1微信公众号2微信app）
	private java.lang.String transactionNo;	//交易流水号
	private java.lang.String transactionAccount;	//交易账号（微信openid、支付宝buyer_email）
	private java.lang.String payStatus;	//支付状态（P已支付U未支付）
	private java.util.Date payDate;	//支付日期
	private java.lang.String source;	//订单来源（WeChat|Android|IOS）
	private BigDecimal tradeTotalPrice;	//订单总价=商品总价格+运费-折扣价格
	private BigDecimal productTotalPrice;	//商品总价格
	private BigDecimal freightPrice;	//运费
	private BigDecimal discountAmount;	//折扣价格（订单总折扣）
	private BigDecimal shouldPrice;	//应付金额（最终支付金额）
	private BigDecimal realPrice;	//实付金额（异步回填，最终价格与应付金额相等）
	private java.lang.String tradeStatus;	//（S待付款D待发货R已发货E已完成C已取消G退款中F已退款N退款失败）
	private BigDecimal applyRefundPrice;	//申请退款金额
	private java.lang.Integer applyRefundReasonType;	//申请退款理由类型
	private java.lang.String applyRefundReason;	//申请退款理由
	private java.util.Date auditDate;	//审核时间
	private java.lang.String auditUsername;	//审核人
	private java.lang.String auditRemark;	//审核备注（运营使用）
	private java.lang.String refundType;	//退款类型（F整单退款G商品退款）
	private java.lang.Integer refundProductId;	//退款商品id（refund_type为G时必填）
	private java.util.Date refundDate;	//退款时间
	private BigDecimal refundPrice;	//退款金额
	private java.lang.String refundOperationStatus;	//退款状态（G待确认O已确认F已退款N退款失败）
	private java.lang.String refundAccount;	//退款资金来源
	private java.lang.String refundRemark;	//退款备注（财务使用）
	private java.util.Date createDate;	//申请时间、创建时间

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public String getTransactionNo() {
		return transactionNo;
	}

	public void setTransactionNo(String transactionNo) {
		this.transactionNo = transactionNo;
	}

	public String getTransactionAccount() {
		return transactionAccount;
	}

	public void setTransactionAccount(String transactionAccount) {
		this.transactionAccount = transactionAccount;
	}

	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public BigDecimal getTradeTotalPrice() {
		return tradeTotalPrice;
	}

	public void setTradeTotalPrice(BigDecimal tradeTotalPrice) {
		this.tradeTotalPrice = tradeTotalPrice;
	}

	public BigDecimal getProductTotalPrice() {
		return productTotalPrice;
	}

	public void setProductTotalPrice(BigDecimal productTotalPrice) {
		this.productTotalPrice = productTotalPrice;
	}

	public BigDecimal getFreightPrice() {
		return freightPrice;
	}

	public void setFreightPrice(BigDecimal freightPrice) {
		this.freightPrice = freightPrice;
	}

	public BigDecimal getDiscountAmount() {
		return discountAmount;
	}

	public void setDiscountAmount(BigDecimal discountAmount) {
		this.discountAmount = discountAmount;
	}

	public BigDecimal getShouldPrice() {
		return shouldPrice;
	}

	public void setShouldPrice(BigDecimal shouldPrice) {
		this.shouldPrice = shouldPrice;
	}

	public BigDecimal getRealPrice() {
		return realPrice;
	}

	public void setRealPrice(BigDecimal realPrice) {
		this.realPrice = realPrice;
	}

	public String getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}

	public BigDecimal getApplyRefundPrice() {
		return applyRefundPrice;
	}

	public void setApplyRefundPrice(BigDecimal applyRefundPrice) {
		this.applyRefundPrice = applyRefundPrice;
	}

	public Integer getApplyRefundReasonType() {
		return applyRefundReasonType;
	}

	public void setApplyRefundReasonType(Integer applyRefundReasonType) {
		this.applyRefundReasonType = applyRefundReasonType;
	}

	public String getApplyRefundReason() {
		return applyRefundReason;
	}

	public void setApplyRefundReason(String applyRefundReason) {
		this.applyRefundReason = applyRefundReason;
	}

	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}

	public String getAuditUsername() {
		return auditUsername;
	}

	public void setAuditUsername(String auditUsername) {
		this.auditUsername = auditUsername;
	}

	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public String getRefundType() {
		return refundType;
	}

	public void setRefundType(String refundType) {
		this.refundType = refundType;
	}

	public Integer getRefundProductId() {
		return refundProductId;
	}

	public void setRefundProductId(Integer refundProductId) {
		this.refundProductId = refundProductId;
	}

	public Date getRefundDate() {
		return refundDate;
	}

	public void setRefundDate(Date refundDate) {
		this.refundDate = refundDate;
	}

	public BigDecimal getRefundPrice() {
		return refundPrice;
	}

	public void setRefundPrice(BigDecimal refundPrice) {
		this.refundPrice = refundPrice;
	}

	public String getRefundOperationStatus() {
		return refundOperationStatus;
	}

	public void setRefundOperationStatus(String refundOperationStatus) {
		this.refundOperationStatus = refundOperationStatus;
	}

	public String getRefundAccount() {
		return refundAccount;
	}

	public void setRefundAccount(String refundAccount) {
		this.refundAccount = refundAccount;
	}

	public String getRefundRemark() {
		return refundRemark;
	}

	public void setRefundRemark(String refundRemark) {
		this.refundRemark = refundRemark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}

